package com.sun.showcase.client.query.mall;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.sun.showcase.pojo.SearchModel;
import com.sun.showcase.client.domain.mall.Subject;

public class SubjectQuery extends SearchModel<Subject> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * id       db_column: id 
     */	
	private java.lang.String id;
	  /**
     * 类型(0连接，1自定义)       db_column: type 
     */	
	private java.lang.String type;
	  /**
     * 显示状态(0否，1是)       db_column: show_status 
     */	
	private java.lang.String showStatus;
	  /**
     * 文章连接       db_column: subject_url 
     */	
	private java.lang.String subjectUrl;
	  /**
     * 标题       db_column: title 
     */	
	private java.lang.String title;
	  /**
     * 封面图       db_column: cover_image 
     */	
	private java.lang.String coverImage;
	  /**
     * 内容       db_column: content 
     */	
	private java.lang.String content;
	  /**
     * 分类id       db_column: classify_id 
     */	
	private java.lang.String classifyId;
	  /**
     * 分类名       db_column: classify_name 
     */	
	private java.lang.String classifyName;
	  /**
     * 创建时间       db_column: create_date 
     */	
	private java.util.Date createDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private java.lang.String ids[];

	public java.lang.String getId() {
		return this.id;
	}
	
	public void setId(java.lang.String value) {
		this.id = value;
	}
	
	public java.lang.String getType() {
		return this.type;
	}
	
	public void setType(java.lang.String value) {
		this.type = value;
	}
	
	public java.lang.String getShowStatus() {
		return this.showStatus;
	}
	
	public void setShowStatus(java.lang.String value) {
		this.showStatus = value;
	}
	
	public java.lang.String getSubjectUrl() {
		return this.subjectUrl;
	}
	
	public void setSubjectUrl(java.lang.String value) {
		this.subjectUrl = value;
	}
	
	public java.lang.String getTitle() {
		return this.title;
	}
	
	public void setTitle(java.lang.String value) {
		this.title = value;
	}
	
	public java.lang.String getCoverImage() {
		return this.coverImage;
	}
	
	public void setCoverImage(java.lang.String value) {
		this.coverImage = value;
	}
	
	public java.lang.String getContent() {
		return this.content;
	}
	
	public void setContent(java.lang.String value) {
		this.content = value;
	}
	
	public java.lang.String getClassifyId() {
		return this.classifyId;
	}
	
	public void setClassifyId(java.lang.String value) {
		this.classifyId = value;
	}
	
	public java.lang.String getClassifyName() {
		return this.classifyName;
	}
	
	public void setClassifyName(java.lang.String value) {
		this.classifyName = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public Map<String, Object> getSearchMap() {
		return searchMap;
	}
	
	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}
	
	public java.lang.String[] getIds() {
		return ids;
	}
	
	public void setIds(java.lang.String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.DEFAULT_STYLE);
	}
	
}

